﻿<%@ Page Language="C#" MasterPageFile="~/mpEShop.master" AutoEventWireup="true" CodeFile="Default.aspx.cs"
    Inherits="_Default" Title="" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script language="javascript" type="text/javascript">
        function register() {
            window.open('Registration.aspx', '_self', "", true);
        }
        function passwordRecovery() {
            window.open('forgetPassword.aspx', '_self', "", true);
        }
    </script>
    <div class="PageCover" align="center">
        <div id="my-slideshow">
            <ul class="bjqs" runat="server" id="slideshow">
            </ul>
        </div>
        <br />
        <br />
        <div id="divCoverdAreas">
            <b>UNSERE LIEFERGEBIETE : </b>
            <br />
            <br />
            <%=GetDeliveryDistricts%>
        </div>
        <div>
            <table>
                <tr style="width: 100%">
                    <td style="width: 50%">
                        <div id="divleft">
                            <div id="divFacebook" runat="server">
                                <iframe id="fbiframe" class="divbox" scrolling="no" frameborder="0" style="border: none;
                                    overflow: hidden;" src="<%=GetFBurl%>"></iframe>
                            </div>
                        </div>
                    </td>
                    <td style="width: 50%">
                        <div id="divright">
                            <div class="divbox" align="center">
                                <div id="divloginHeader" class="ui-widget-header">
                                    LOGIN &amp; REGISTRATION</div>
                                <div id="loginbody" class="ui-widget-content" style="min-height: 150px;">
                                    <table width="100%" cellpadding="0" cellspacing="8">
                                        <tr>
                                            <td valign="middle">
                                                E-mail Adresse
                                            </td>
                                            <td valign="middle">
                                                <input name="userName" type="text" id="txtUserNameTop" class="textBox" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="middle">
                                                Kennwort
                                            </td>
                                            <td valign="middle">
                                                <input name="password" type="password" id="txtPasswordTop" class="textBox" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="middle">
                                                <span style="font-size: 11px; color: Red; cursor: pointer" onclick="passwordRecovery()">
                                                    Kennwort vergessen?</span>
                                            </td>
                                            <td valign="middle">
                                                <input type="submit" name="btnLogin" value="Einloggen" onclick="Login();return false;"
                                                    id="btnLogin" class="btn" />
                                                <input type="button" class="regBtn" value="Neu" style="width: 55px;" onclick="register();" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <br />
        <br />
        <div id="divFooter" style="width: 100%">
        </div>
    </div>
</asp:Content>
